//
//  TwoViewController.h
//  颜色block
//
//  Created by missummer on 15-4-10.
//  Copyright (c) 2015年 missummer. All rights reserved.
//

#import <UIKit/UIKit.h>
//返回值 名字 参数
typedef void (^ ChangeBlock)();
typedef void (^ ReturnStr)(NSString * str);
typedef void (^ ReturnColorBlock)(UIColor * color);
typedef void (^ ReturnColorAndText)(UIColor * color1 , UIColor * color2 ,NSString * str);
@interface TwoViewController : UIViewController
@property (nonatomic , strong) ChangeBlock changeColor;
@property (nonatomic , strong) ReturnStr returnTextBlock;
@property (nonatomic , strong) ReturnColorBlock returnColorBlock;
@property (nonatomic , strong) ReturnColorAndText returnColorAndTextBlock;
- (void)returnText:(ReturnStr)block;
- (void)returnColor:(ReturnColorBlock)block;
- (void)returnColorAndText:(ReturnColorAndText)block;
@end
